package com.jic.market.entity.coupon;

import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 优惠券商品关联表
 * @author : seven
 * @email : 774329481@qq.com
 * @since : 2020-03-15 08:30:01
 * @version : v1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CouponTrigger implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键ID
    private long id;
//优惠券id
    private String promotionId;
    //触发类型 普通0 拼团 1 秒杀 2
    private String triggerType;
    //00用户领取,10注册,11完善个人信息,20短信,21邮箱,任务触发,31签到,32收藏店铺,33抽奖,34赠送,拼团Id,秒杀Id
    private String triggerId;
    //单个类型发放次数
    private String triggerTypeNum;
    //单个类型发放次数限制
    private String triggerTypeLimitNum;
    //创建人
    private long creator;
    //修改人
    private long updater;
    //是否删除 0否，1是
    private Boolean deleteFlag;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;
    //创建人姓名
    private String creatorName;
    //更新人姓名
    private String updatorName;
    //平台Id
    private String roleDeptId;
    //商家Id
    private String roleMerchantId;
    //店铺Id
    private String roleStoreId;
    
}